//package com.imay.live.fragment.pay;
//
//import android.content.Context;
//import android.content.Intent;
//import android.os.Bundle;
//import android.support.v4.app.Fragment;
//import android.support.v4.app.FragmentManager;
//import android.support.v4.app.FragmentTransaction;
//
//import com.imay.live.activity.BaseRequestActivity;
//import com.imay.live.R;
//
///**
// * Created by lzx on 2017/04/27 0027.
// */
//
//public class GetMoneyHitstoryActivity extends BaseRequestActivity {
//    public static void startActivity(Context context) {
//        Intent starter = new Intent(context, GetMoneyHitstoryActivity.class);
//        context.startActivity(starter);
//    }
//
//    @Override
//    protected int getLayoutId() {
//        return R.layout.getmoneyhistory_layout;
//    }
//
//    @Override
//    protected void initView(Bundle savedInstanceState) {
//        setTitle(getResources().getString(R.string.get_history));
//        GetthistoryFrament getthistoryFrament = GetthistoryFrament.newInstance();
//        addFragment(getthistoryFrament);
//    }
//
//    private void addFragment(Fragment loadFragment) {
//        FragmentManager fragmentManager = getSupportFragmentManager();
//        FragmentTransaction transaction = fragmentManager.beginTransaction();
//        Fragment fragment = fragmentManager.findFragmentByTag(loadFragment.getClass().toString());
//        if (fragment == null) {
//            transaction.add(R.id.fragment_id, loadFragment, loadFragment.getClass().toString());
//        }
//        transaction.show(loadFragment);
//        transaction.commit();
//    }
//}
